#define _CRT_SECURE_NO_WARNINGS 1
#include"BinaryTree.h"

int main()
{
	char p[] = "ABCDEFGHW";
	BTNode* bt = BinaryTreeCreate(p);
	BinaryTreeLevelOrder(bt);
	bool ret = BinaryTreeComplete(bt);
	/*printf("%d\n", BinaryTreeLevelKSize(bt, 1));
	printf("%d\n", BinaryTreeLevelKSize(bt, 2));
	printf("%d\n", BinaryTreeLevelKSize(bt, 2));
	printf("%d\n", BinaryTreeLevelKSize(bt, 3));
	printf("%d\n", BinaryTreeLevelKSize(bt, 5));
	printf("%d\n", BinaryTreeLevelKSize(bt, 4));*/
	/*BinaryTreePrevOrder(bt);
	printf("\n");
	BinaryTreeInOrder(bt);*/
	/*printf("\n");
	BinaryTreePostOrder(bt);*/
	/*printf("%d\n", BinaryTreeSize(bt));
	printf("%d\n", BinaryTreeSize(bt));
	printf("%d\n", BinaryTreeSize(bt));*/
	//printf("%d\n", BinaryTreeLeafSize(bt));
	/*BinaryTreeDestory(&bt);
	printf("%d\n",BinaryTreeSize(bt));*/
	/*if (BinaryTreeFind(bt, 'Z'))
	{
		printf("haha");
	}
	else
	{
		printf("xixi");
	}*/

	return 0;
}
